Responsive Web Design, 2e by Ethan Marcotte
Author:Ethan Marcotte
Language: eng
Format: epub
Tags: COMPUTERS / Web / Design
Publisher: A Book Apart
Published: 2014-11-25T05:00:00+00:00
A room with a viewport
We’ve already identified a number of stress points in our design. But before we start applying our media queries, we need to make one final tweak to our markup.
When Apple launched the iPhone in 2007, they created a new attribute value for Mobile Safari’s meta element: viewport (http://bkaprt.com/rwd2/31/). Why? Well, the dimensions of the iPhone’s display is 320×480, but Mobile Safari actually displays web pages at a width of 980 pixels. If you’ve ever visited Apple’s homepage (http://apple.com/) on a WebKit-enabled phone (FIG 4.9), then you’ve seen this behavior in action: Mobile Safari is drawing the page upon a 980px-wide canvas, and then shrinking it to fit within your phone’s 320×480 display.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Aircraft Design of WWII: A Sketchbook by Lockheed Aircraft Corporation(32219)
The Great Music City by Andrea Baker(31539)
Call Me by Your Name by André Aciman(20378)
The Secret History by Donna Tartt(18861)
The Art of Boudoir Photography: How to Create Stunning Photographs of Women by Christa Meola(18545)
Shoot Sexy by Ryan Armbrust(17663)
Plagued by Fire by Paul Hendrickson(17335)
Portrait Mastery in Black & White: Learn the Signature Style of a Legendary Photographer by Tim Kelly(16957)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16907)
Photographically Speaking: A Deeper Look at Creating Stronger Images (Eva Spring's Library) by David duChemin(16623)
Ready Player One by Cline Ernest(14533)
Pimp by Iceberg Slim(14399)
Bombshells: Glamour Girls of a Lifetime by Sullivan Steve(13979)
The Goal (Off-Campus #4) by Elle Kennedy(13544)
Art Nude Photography Explained: How to Photograph and Understand Great Art Nude Images by Simon Walden(12977)
Kathy Andrews Collection by Kathy Andrews(11737)
The Priory of the Orange Tree by Samantha Shannon(8894)
The remains of the day by Kazuo Ishiguro(8832)
Thirteen Reasons Why by Jay Asher(8800)